package com.amazon.spring8amazon.mapper;

import com.amazon.spring8amazon.domain.Product;
import com.amazon.spring8amazon.domain.Params;
import com.amazon.spring8amazon.domain.QinWords;
import com.amazon.spring8amazon.domain.SkuVar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.HashMap;
import java.util.List;


/**
* @author Administrator
* @description 针对表【yibai_amazon_ai_desc(AI文案记录表)】的数据库操作Mapper
* @createDate 2024-08-08 10:59:29
* @Entity com.amazon.amazoncenterck.domain.YibaiAmazonAiDesc
*/


public interface ProductMapper extends BaseMapper<Product> {

    List<Product> selectBySku(Params params);

    List<Product> selectBySkuPage(Params params);

    List<QinWords> selectDangerousWords();

    List<SkuVar> selectSkuVar(Params params);

    // 不构建结构体的模式
    List<HashMap<String,Object>> selectVari(Params params); // 根据sku查询得到产品变体值

    List<HashMap<String,Object>> selectImageBySku(Params params); // 根据sku查询得到产品图数据

}




